<?php if (!defined('THINK_PATH')) exit();?>﻿<!DOCTYPE html>
<html>

	<head>
		<title>
			填写信息
		</title>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no">
		<meta name="mobileOptimized" content="width">
		<meta name="handheldFriendly" content="true">
		<meta http-equiv="Cache-Control" content="max-age=0">
		<meta name="apple-touch-fullscreen" content="yes">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">

		<link rel="stylesheet" href="/test/thinkphp_3.2.3_full/Public/css/style.css" media="screen" type="text/css" />
		<link rel="stylesheet" href="/test/thinkphp_3.2.3_full/Public/css/my.css" />
		<link rel="stylesheet" href="//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">
		<script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
		<script src="//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
		<script type="text/javascript" src="/test/thinkphp_3.2.3_full/Public/js/jquery-1.2.6.min.js"></script>
		<script src="/test/thinkphp_3.2.3_full/Public/js/snowfall.jquery.js"></script>

<script>
			var flag = 0;
			$(document).ready(function() {
				$("form").submit(function() {
					var name = $("#name").val();
					var phone = $("#phone").val();
					if (name == "" || phone == "") {
						alert("信息不能为空!");
						return false;
					}
					$("#submit").attr("disabled", true);
				});
			});
		</script>

	</head>

	<body id="body" style="margin:0 auto;">

		<script>
			$(document).snowfall('clear');
			$(document).snowfall({
				image: "/test/thinkphp_3.2.3_full/Public/images/huaban.png",
				flakeCount: 30,
				minSize: 5,
				maxSize: 22
			});
		</script>
	
			<div class="header">
				<img src="/test/thinkphp_3.2.3_full/Public/images/headding.png">

			</div>
			<div class="liebiao">
				<p class="yun">
					<img src="/test/thinkphp_3.2.3_full/Public/images/yun.png">
				</p>
				 <div class="container-fluid">	
			<form action="<?php echo U('Index/add');?>" method="post" class="form-horizontal">

				<h3 class="text-center"style="color:white;">填写你的信息</h3>

				<div class="form-group">
					<div class="col-sm-12 col-xs-12">
						<input id="name" type="input" class="form-control" name="name" placeholder="请输入你的姓名"style="width:60%; margin:0 auto;">
					</div>
				</div>

				<div class="form-group">
					<div class="col-sm-12 col-xs-12">
						<input id="phone" type="input" class="form-control" name="phone" placeholder="请输入你的电话"style="width:60%;margin:0 auto;">
					</div>
				</div>
				<input type="hidden" name="openid" value="<?php echo ($info->openid); ?>">
				<div class="form-group"style="margin:0 auto;width:50%;">
					<div class="col-sm-12 col-xs-12">
						<button id="submit" type="submit" class="btn btn-info"style="margin:0 auto;width:100%;">提交</button>
					</div>
				</div>
			</form>
			
		</div>
				<div class="footers">
					<img src="/test/thinkphp_3.2.3_full/Public/images/di_bg.png">
				</div>
			</div>
	</body>

</html>